diff --git a/_opcodes/op000.html b/_opcodes/op000.html index b520c9c86..b83fa2b55 100644 --- a/_opcodes/op000.html +++ b/_opcodes/op000.html @@ -19,7 +19,7 @@ If the targets AC is already 'AC Modifier' or below, this effect will do nothing).
-AC is capped to the range [-20, 20] +Each modifier type to AC from this opcode is capped to the range [-20, 20]. Each AC type total is capped to the range [-32768,32767].
{% capture note %} diff --git a/_opcodes/op001-bgee.html b/_opcodes/op001-bgee.html index 9c1c74248..2f6a25fe6 100644 --- a/_opcodes/op001-bgee.html +++ b/_opcodes/op001-bgee.html @@ -28,15 +28,26 @@The affected creature becomes berserk and its AI scripts stop running. Grants a +2 bonus to hit and damage with all weapons. It also sets the STATE_BERSERK flag.
+{% capture note %} +Forces creature(s) to use a melee weapon if possible. +{% endcapture %} + +{% include note.html %} + {% capture note %} This effect only affects party members. {% endcapture %} @@ -29,3 +38,9 @@ {% endcapture %} {% include note.html %} + +{% capture note %} +Used with timing modes 1/4/7 results in setting STATE_BERSERK when it triggers (and using its default behavior), rather than attaching a removable effect with selected behavior. +{% endcapture %} + +{% include important.html %} diff --git a/_opcodes/op004.html b/_opcodes/op004.html index b86d8c05e..0920ba5f1 100644 --- a/_opcodes/op004.html +++ b/_opcodes/op004.html @@ -10,7 +10,7 @@ iwd2: 1 pst: 1 --- -Removes the state_beserk flag from the targeted creature(s). +Removes opcode #3 effects and STATE_BERSERK from the targeted creature(s). Does not remove opcode #245, opcode #246 and opcode #247 effects.IF @@ -2746,12 +2747,32 @@This action causes the active creature to become the players ally. The active creature does not act as a normal familiar (i.e. no HP bonus or Constitution loss on death).
+ {% capture note %} + Unfortunately, this action is currently bugged (as of v2.5) - It temporarily sets all non-EA values to 0 (GENERAL, RACE, CLASS, ALIGNMENT, SPECIFICS). Anything that forces the targeted character's action bar to update itself will revert the creature to its normal values (and action bar). For instance: ++
+ {% endcapture %} + + {% include warning.html %}- Casting a spell from a quick spell slot (needs to update the quantity)
+- Changing the spell in a quick spell slot
+- Using a quick item with quantity/charges
+
This action removes the ally flag set by AddFamiliar.@@ -3912,7 +3933,16 @@
+ {% capture note %} + Unfortunately, this action is currently bugged (as of v2.5) - It temporarily sets all non-EA values to 0 (GENERAL, RACE, CLASS, ALIGNMENT, SPECIFICS). Anything that forces the targeted character's action bar to update itself will revert the creature to its normal values (and action bar). For instance: ++
+ {% endcapture %} + + {% include warning.html %}- Casting a spell from a quick spell slot (needs to update the quantity)
+- Changing the spell in a quick spell slot
+- Using a quick item with quantity/charges
+
- Unknowndiff --git a/scripting/triggers/bgeetriggers.htm b/scripting/triggers/bgeetriggers.htm index 84468acda..f9bc1d215 100644 --- a/scripting/triggers/bgeetriggers.htm +++ b/scripting/triggers/bgeetriggers.htm @@ -438,7 +438,7 @@
+ This action puts the item specified by the Item parameter in the slot specified by the Slot parameter of the creature specified by the Object parameter in the style specified by the Equip/UnEquip parameter.
+
+ Code snippet: ++ IF + True() + THEN + RESPONSE #100 + XEquipItem("HAMM01",Protagonist,SLOT_WEAPON1,EQUIP) // War Hammer + END
0x0091 SpellCast(O:Object*,I:Spell*Spell)
0x0091 SpellCastRES(S:Spell*,O:Object*)
- Returns true only if the specified object cast the spell in the 2nd paramater in the last script round.
+ Returns true only if the specified object cast the spell in the 2nd paramater in the last script round. If the Spell parameter is 0, then this will return true for ANY spell cast.
0x4092 InLine(S:Target*,O:Object*)
InLine(S:Target*,O:Object*) seems to have no effect.
@@ -488,7 +488,7 @@
0x00A1 SpellCastOnMe(O:Caster*,I:Spell*Spell)
0x00A1 SpellCastOnMeRES(S:Spell*,O:Caster*)
- Returns true only if the specified object cast the specified spell on the active CRE in the last scriptround.
+ Returns true only if the specified object cast the specified spell on the active CRE in the last scriptround. If the Spell parameter is 0 (or "" for the RES version), then this trigger will return true for ANY spell cast.
0x40A2 CalanderDay(I:Day*)
NT Returns true only if the current day is the day specified.