Added the ability for items to be activated upon cast instead of on completion of cast. These item effects also get interrupted by any movement.
This commit is contained in:
@@ -53,9 +53,9 @@ ItemDatabase
|
||||
}
|
||||
Bandages
|
||||
{
|
||||
ItemScript = Restore
|
||||
ItemScript = RestoreDuringCast
|
||||
Description = Restores 30% health points over 6 seconds. The effect can be interrupted.
|
||||
HP % Restore = 30%
|
||||
HP % Restore = 5%,1,6
|
||||
Cast Time = 6.0
|
||||
Cooldown Time = 5.0
|
||||
ItemCategory = Consumables
|
||||
|
||||
@@ -22,4 +22,13 @@ ItemScript
|
||||
{
|
||||
Attack % = 0,0.0
|
||||
}
|
||||
|
||||
# Unlike an item or ability that requires a cast to perform, this applies a buff immediately and then moving cancels the buff mid-application.
|
||||
RestoreDuringCast
|
||||
{
|
||||
HP Restore = 0,0.0,0.0
|
||||
HP % Restore = 0,0.0,0.0
|
||||
MP Restore = 0,0.0,0.0
|
||||
MP % Restore = 0,0.0,0.0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user