Idobek Posted May 2, 2005 Share Posted May 2, 2005 This is something I did a while ago. I don't remember how complete it is. A lot other minhp items also need fixing IIRC. Original discussion thread at FW. COPY_EXISTING ~MINHP1.itm~ ~override/MINHP1.itm~ READ_LONG 0x64 "abilitiesoffset" READ_LONG 0x6a "effectsoffset" READ_SHORT 0x68 "#abilities" READ_SHORT 0x70 "#globaleffects" // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #14034 // String Ref - ~Charisma Modification~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #14029 // String Ref - ~Constitution Modification~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #14024 // String Ref - ~Dexterity Modification~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #14021 // String Ref - ~Intelligence Modification~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #14042 // String Ref - ~Strength Modification~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #14047 // String Ref - ~Wisdom Modification~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #41495 // String Ref - ~One Level Drained~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #40968 // String Ref - ~Two Levels Drained~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #40969 // String Ref - ~Three Levels Drained~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #40979 // String Ref - ~Four Levels Drained~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #41616 // String Ref - ~Five Levels Drained WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #32089 // String Ref - ~Devour Brain~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Disable Display String INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 267 // Type - Disable Display String SAY("%effectsoffset%" + 0x04) #14782 // String Ref - ~Confused~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 0 // Icon - ~Charm~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 2 // Icon - ~Rigid Thinking~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 3 // Icon - ~Confusion~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 4 // Icon - ~Berserk~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 5 // Icon - ~Intoxicated~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 6 // Icon - ~Poisoned~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 7 // Icon - ~Nauseated~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 21 // Icon - ~Strength~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 36 // Icon - ~Panic~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 39 // Icon - ~Fatigue~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 43 // Icon - ~Domination~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 44 // Icon - Hopelessness~~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 45 // Icon - ~Greater Malison~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 47 // Icon - ~Chaos~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 48 // Icon - ~Feebleminded~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 50 // Icon - ~Champion's Strength~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 51 // Icon - ~Dying~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 53 // Icon - ~Level Drain~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 54 // Icon - ~Polymorph Self~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 59 // Icon - ~Energy Drain~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 61 // Icon - ~Cloak of Fear~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 78 // Icon - ~Maze~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 79 // Icon - ~Imprisonment~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 86 // Icon - ~Intelligence Drained by Mind Flayer~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 91 // Icon - ~Ability Score Drained~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 101 // Icon - ~Decaying~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 102 // Icon - ~Acid~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 113 // Icon - ~Enfeebled~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 115 // Icon - ~Friends~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 126 // Icon - ~Nauseated~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 130 // Icon - ~Unconscious~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 135 // Icon - ~Draw Upon Holy Might~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 136 // Icon - ~Strength of One~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Remove Portrait Icon INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 169 // Type - Remove Portrait Icon WRITE_LONG ("%effectsoffset%" + 0x08) 137 // Icon - ~Bleeding~ WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Charisma Modifier INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 6 // Effect - Charisma Modifier WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Constitution Modifier INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 10 // Effect - Constitution Modifier WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Dexterity Modifier INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 15 // Effect - Dexterity Modifier WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Intelligence Modifier INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 19 // Effect - Intelligence Modifier WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Strength Modifier INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 44 // Effect - Strength Modifier WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Wisdom Modifier INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 49 // Effect - Wisdom Modifier WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Morale Modifier INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 23 // Effect - Morale Modifier WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Unconsciousness INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 39 // Effect - Unconsciousness WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Feeblemindedness INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 76 // Effect - Feeblemindedness WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Pause Target INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 165 // Effect - Pause Target WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Stun 90HP INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 210 // Effect - Stun 90HP WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Control Creature INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 241 // Effect - Control Creature WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) // Add Equipping Effect: Immunity to Berserking INSERT_BYTES "%effectsoffset%" 0x30 WRITE_SHORT "%effectsoffset%" 101 // Type - Immunity to Effect WRITE_LONG ("%effectsoffset%" + 0x08) 246 // Effect - Berserking WRITE_SHORT 0x70 ("%#globaleffects%" + 1) SET "#globaleffects" = ("%#globaleffects%" + 1) /* // Update Any Abilities' Effects Indexes (None in MINHP1) SET "ability#" = 0 SET "total#effects" = "%#globaleffects%" WHILE ("%ability#%" < "%#abilities%") BEGIN READ_SHORT ("%abilitiesoffset%" + "%ability#%" * 0x38 + 0x1e) "#effects" WRITE_SHORT ("%abilitiesoffset%" + "%ability#%" * 0x38 + 0x20) "%total#effects%" SET "total#effects" = ("%total#effects%" + "%#effects%") SET "ability#" = ("%ability#%" + 1) END */ // Set Common Effect Values WHILE ("%#globaleffects%" > 0) BEGIN WRITE_BYTE ("%effectsoffset%" + ("%#globaleffects%" - 1) * 0x30 + 0x02) 1 // Target WRITE_BYTE ("%effectsoffset%" + ("%#globaleffects%" - 1) * 0x30 + 0x0c) 2 // Duration WRITE_BYTE ("%effectsoffset%" + ("%#globaleffects%" - 1) * 0x30 + 0x0d) 0 // Dispel/Resistance WRITE_BYTE ("%effectsoffset%" + ("%#globaleffects%" - 1) * 0x30 + 0x12) 100 // Probability SET "#globaleffects" = ("%#globaleffects%" - 1) END Link to comment
Idobek Posted May 6, 2005 Author Share Posted May 6, 2005 I found some notes I made when did this. What hasn't been checked and fixed is the animation immunities to go with the opcode immunties. Link to comment
Ardanis Posted February 21, 2007 Share Posted February 21, 2007 Opcode №151 (summon: replace creature) is killing one too. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.