|
Thread: Visions & reduce monster agression artifacts | |
|
hcl
Adventuring Hero
|
posted December 29, 2014 06:31 PM |
|
Edited by hcl at 19:03, 29 Dec 2014.
|
Visions & reduce monster agression artifacts
It seems that the spell 'Visions' is ignoring the reduced monster agression boni from (enhanced, option enabled) artifacts like ambsassador's sash.
With Diplomatics Hero: Visions told, Stack will join for xxxxxx amount of Gold. Stack joined w/o any payment.
bug/intended?
edit: w/o those artifacts equipped, Hero had to pay the expected amount of gold
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 29, 2014 09:23 PM |
|
|
Well, you have to read the scripts to understand how it works. Is not because you have the artefacts that, when clicking on monster, anything will change. The trigger for enhanced artefacts is the battle start (!?BA0). So, visions, artefacts, doesn't matter if not yet battle.
|
|
hcl
Adventuring Hero
|
posted December 29, 2014 09:59 PM |
|
Edited by hcl at 22:10, 29 Dec 2014.
|
Salamandre said: Well, you have to read the scripts to understand how it works. Is not because you have the artefacts that, when clicking on monster, anything will change. The trigger for enhanced artefacts is the battle start (!?BA0). So, visions, artefacts, doesn't matter if not yet battle.
yea i know. im not pointing at the artifact script. Its the Visions Spell that has no clue that those artifact exists but it should know. So maybe the vision spell could be rewritte/fixed so that it checks if and how many -1 agression items the hero wears to give a correct return.
edit: as far as i see on first noobglance its an object trigger
** start of object trigger - monsters
!?OB54&v7182=1; [object trigger - monsters]
dont see any battlestart there?
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 29, 2014 10:20 PM |
|
|
There is a second one here:
!?BA0&v7182=1/-998;
!!OB7130:T?y-1; [check for monster stack at position]
!!MO7130&76/y-1=54:G?y-2; [check for monsters at position]
!!MO7130&76/y-2>0:Rv7059/1; [reset monster aggression level if flag 76 is set (for diplo arts)]
!!IF:V76/0; [reset flag 76]
Anyway, both triggers occur when you already engaged battle.
____________
Era II mods and utilities
|
|
hcl
Adventuring Hero
|
posted December 29, 2014 10:31 PM |
|
|
found it, yea. ok, so the main question remains, could the vision spell be altered that it takes the artifacts into account for calculation?
btw (and slightly OT)
i have statemans medal, diplo ring and sash on same hero - but i cant get it assembled :-/
even though enhanced artifact script is enabled and option 178 is disabled (forbid combos)
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 29, 2014 10:33 PM |
|
|
No, it can't. There is no way to know if hero casts a spell on adventure map. No trigger for that, although there is a trigger to cast automatically a spell (OW) but not to identify something being cast. Dead end.
____________
Era II mods and utilities
|
|
hcl
Adventuring Hero
|
posted December 29, 2014 10:57 PM |
|
|
i see, thx for clarification @sal
now i just wonder why my set doesnt want to assemble *sigh*
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 29, 2014 11:17 PM |
|
|
It does, but is not coded properly. You will only receive a message when the last of three artifacts is picked from ground. Then it works, but in hero screen you will have no hint about.
____________
Era II mods and utilities
|
|
|