BLESSINGS AND CURSES

Give, remove or adjust blessings and curses on a specific hero.

You can edit attributes of EVERY curse and setup unusued ones with CR receiver. However, hard-coded effects (mostly) cannot be changed.

 
!!HE#:Y$1/$2/$3/$4; Place a blessing or curse on the hero number of # (see Format H - each hero has a unique number in the game).
!!HE#1/#2/#3:Y$1/$2/$3/$4; Place a blessing or curse on the hero at x,y,l coordinates
  
#1 = x
   #2 = y
   #3 = level (0-ground, 1-Underground)
!!HE-1:Y$1/$2/$3/$4; Place a blessing or curse on the hero who activated the trigger. Using this format simplifies things greatly as you do not need to keep changing the coordinates for every !!HE command if you move the trigger event or object. 


Options
Y$1/$2/$3/$4 Add/change/remove a curse.
   $1 - number of curse from 1 to 100
   $2 - the power of curse (not used for Blinding and Lock)
   $3 - the length in days of the curse
   $4 - what to do
      1 = set
      2 = add/sub
      0 = del
Special case: HE:Y0/0/0/3 - remove all curses/blessings from the hero.

Comments:
Every hero can have only one curse of each type. So when you add/sub (sub is addition of negative value), that means that the power and the length will be changed to a sum of old and new values. If you del the curse, the power and length parameters do not matter.
Y2/$1/$2/#

Slot lock curse
   $1 - number of slot to lock (-1=random slot).
   $2 - the length in days of the curse.
   # - set(1) add(2) or del(0).
Okay information in changelogs are weird, claims $2 to be number of slot which would be inconsistent with normal HE:Y. We need to test this out
If the slot has an artifact, it will be hidden and appear at the same place when curse has gone.

Here's the list of slot lock indexes (it's not the same as format AP):
0   head
1   shoulders
2   neck
3   right hand
4   left hand
5   torso
6   rings
7   feet
8   misc. slots
9   ballista (war machine 1)  
10  ammo cart (war machine 2)  
11  first aid tent (war machine 3)  
12  catapult  
13  spell book

Y$1/$2/$3

New HE:Y syntax
   $1 - number of curse from 1 to 100
   $2 - the power of curse (not used for Blinding and Lock)
   $3 - length of curse (in days)

HE:Y now supports all syntax variations, so 4th parameter is usually unneeded.
Examples:
!!HE-1:Yv1/v2/v3 - set curse.
!!HE-1:Yv1/dv2/dv3 - add/sub curse.
!!HE-1:Yv1/0/0 - delete curse.
!!HE-1:Yv1/?v2/?v3 - get curse.
The only case when 4th is needed:
HE:Y0/0/0/3 - remove all curses/blessings from the hero.

 

Curses   Explanations and settings
1.Blinding. Hero cannot explore anything around.
Type=1
2.One hero's slot occupied by a lock. One hero's slot occupied by a lock
Type=2
Value=number of slot (-1=any)
3.No diplomacy. No monster will join the hero.
Type=3
4.Money loss. Owner loses money daily.
Type=4
Value=amount of gold to lose.
5.Resource bonus. Get additional resources daily.
Crystal, Gems, Mercury, Sulphur.
Type=5
Value=amount of resources to get.
6.Loss of mana points daily. Loss of mana points daily.
Type=6
Value=points to lose
7.Add of mana points daily. Add of mana points daily.
Type=7
Value=points to add.
8.Set scouting radius (to 2 by default) Set scouting radius (2 by default)
Type=8.
(Alpha 8.2) Value=scouting radius, might be any positive number. Negative and 0 are interpreted as 2 for safety and backcompability
9.Add experience daily. Add experience daily.
Type=9.
Value=exp to add.
10.Slow.. Slow
Type=10.
Value=movements to lose
11.not yet.  
12.not yet.  
13.not yet.  
14.not yet.  
15.Resource bonus. Get additional resources daily. Wood.
Type=15
Value=amount of resources to get.
16.Resource bonus. Get additional resources daily. Ore.
Type=16
Value=amount of resources to get.
17.Resource bonus. Get additional resources daily. Gems.
Type=17
Value=amount of resources to get.
18.Resource bonus. Get additional resources daily. Mercury.
Type=18
Value=amount of resources to get.
19.Resource bonus. . Get additional resources daily. Sulphur.
Type=19
Value=amount of resources to get
20.Resource bonus. Get additional resources daily. Crystal.
Type=20
Value=amount of resources to get.
21.Resource bonus. Get additional resources daily. Gold.
Type=21
Value=amount of resources to get
22...63 Cannot visit an object on the map. Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
23 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
24 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
25 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
26 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
27 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
28 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
29 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
30 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
31 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
32 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
33 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
34 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
35 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
36 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
37 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
38 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
39 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
40 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
41 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
42 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
43 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
44 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
45 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
46 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
47 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
48 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
49 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
50 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
51 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
52 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
53 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
54 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
55 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
56 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
57 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
58 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
59 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
60 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
61 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
62 Cannot visit an object on the map.
Type=22...63
The picture shows the object that cannot be visited
63 Not yet working.
64.Resource bonus. Get additional resources daily. Wood, Ore.
Type=64
Value=amount of resources to get
65.Speed up.
Increase Hero's movement.
Type=65.
Value=movements to add.
Custom curses
66 - 100
Custom curses
Type=66..100.
Doesn't have predefined picture, description nor effect upon granted. You can freely edit those with CR receiver and make scripts granting effects.