Lines 169-175
Link Here
|
169 |
|
169 |
|
170 |
DefineButton( { Pos = 7, Level = 0, Icon = "icon-holy-vision", |
170 |
DefineButton( { Pos = 7, Level = 0, Icon = "icon-holy-vision", |
171 |
Action = "cast-spell", Value = "spell-holy-vision", |
171 |
Action = "cast-spell", Value = "spell-holy-vision", |
172 |
Allowed = "check-upgrade", AllowArg = {"upgrade-holy-vision"}, |
172 |
-- Allowed = "check-upgrade", AllowArg = {"upgrade-holy-vision"}, |
|
|
173 |
Allowed = "check-upgrade", AllowArg = {"upgrade-paladin"}, |
173 |
Key = "v", Hint = "HOLY ~!VISION", |
174 |
Key = "v", Hint = "HOLY ~!VISION", |
174 |
ForUnit = {"unit-paladin", "unit-knight-rider", |
175 |
ForUnit = {"unit-paladin", "unit-knight-rider", |
175 |
"unit-man-of-light"} } ) |
176 |
"unit-man-of-light"} } ) |
Lines 197-203
Link Here
|
197 |
|
198 |
|
198 |
DefineButton( { Pos = 4, Level = 0, Icon = "icon-fireball", |
199 |
DefineButton( { Pos = 4, Level = 0, Icon = "icon-fireball", |
199 |
Action = "cast-spell", Value = "spell-fireball", |
200 |
Action = "cast-spell", Value = "spell-fireball", |
200 |
Allowed = "check-upgrade", AllowArg = {"upgrade-fireball"}, |
201 |
-- Allowed = "check-upgrade", AllowArg = {"upgrade-fireball"}, |
|
|
202 |
Allowed = "check-true", |
201 |
Key = "f", Hint = "~!FIREBALL", |
203 |
Key = "f", Hint = "~!FIREBALL", |
202 |
ForUnit = {"unit-mage", "unit-white-mage"} } ) |
204 |
ForUnit = {"unit-mage", "unit-white-mage"} } ) |
203 |
|
205 |
|