Jump to content

adding info on the wish opcode (0x137)


Avenger

Recommended Posts

The spells (spwish01-25) are not equal chanced. Each has a minimum and a maximum wisdom requirement.

(Harmful effects got a maximum wisdom, useful effects got a minimum wisdom).

 

The table is here:

code min max

01 - 10 - 25

02 - 10 - 25

03 - 10 - 25

04 - 10 - 25

05 - 0 - 25

06 - 10 - 25

07 - 0 - 25

08 - 15 - 25

09 - 0 - 25

10 - 0 - 25

11 - 0 - 25

12 - 0 - 25

13 - 0 - 25

14 - 0 - 25

15 - 15 - 25

16 - 0 - 25

17 - 0 - 25

18 - 0 - 17

19 - 0 - 9

20 - 0 - 17

21 - 0 - 17

22 - 0 - 9

23 - 0 - 9

24 - 0 - 9

25 - 0 - 25

Link to comment
Won't start a new topic for everything, so here:

 

0x135 - this opcode doesn't set any global variable. Just a local. There is a different opcode for setting globals:

0x109.

I recall running into some oddities with 0x135 when developing detection for SR's Glitterdust. I haven't verified this, but I seem to remember:

 

* A global with the same name could be set to 1, but not ever set back to 0

* Modifier Type = 1 didn't work

Link to comment

The wing buffet effect is resisted by some animation types (mostly dragons and demons).

Here is the full list:

0x1201 MDR2

0x1202 MDR3

0x1203 MDR1

0x1204 MDR1

0x1205 MDR1

0x1206 MDR1

0x1207 MDR1

0x1208 MDR1

 

0x7F3E MFIG

0x7F3F ?

 

0x7300 MEAE

0x7302 MEAE

0x7310 MFIE

 

0x7312 ?

0x7314 ?

 

0x7320 MAIR

 

0xE0F0 MGIC

 

0x1100 MTAN

 

0x1300 ?

 

0x7F2E MRAV

 

0x7F3B MSOL

0x7F3C MASL

0x7F3D MMEL

 

0x7F32 MSLY

 

 

Some ids i didn't have in gemrb's list and i'm lazy to find them out :undecided:

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...