Action charges refactor (#33993)
* Action charges refactor - Fixes the slight godmoding of baseactioncomponent. - Gets back 1ms of server time. * chorg * Remove FrameUpdate * Fixes * More fixes * Combine * Fixes * Updates * weh * Last fixes * weh * Fix naughty * YAML fixes * This one too * Merge conflicts * This thing * Review * Fix this as well * Icon fix * weh * Review * Review * seamless * Review
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
name: Animate
|
||||
description: Bring an inanimate object to life!
|
||||
components:
|
||||
- type: LimitedCharges
|
||||
maxCharges: 5
|
||||
- type: EntityTargetAction
|
||||
useDelay: 0
|
||||
charges: 5
|
||||
itemIconStyle: BigAction
|
||||
whitelist:
|
||||
components:
|
||||
|
||||
@@ -30,8 +30,6 @@
|
||||
description: Fires a fireball, but faster!
|
||||
components:
|
||||
- type: WorldTargetAction
|
||||
useDelay: 10
|
||||
renewCharges: true
|
||||
itemIconStyle: BigAction
|
||||
checkCanAccess: false
|
||||
raiseOnUser: true
|
||||
@@ -52,8 +50,6 @@
|
||||
description: The fastest fireball in the west!
|
||||
components:
|
||||
- type: WorldTargetAction
|
||||
useDelay: 8
|
||||
renewCharges: true
|
||||
itemIconStyle: BigAction
|
||||
checkCanAccess: false
|
||||
raiseOnUser: true
|
||||
|
||||
@@ -59,9 +59,10 @@
|
||||
- type: entity
|
||||
id: ActionRgbLight
|
||||
components:
|
||||
- type: LimitedCharges
|
||||
maxCharges: 25
|
||||
- type: EntityTargetAction
|
||||
whitelist: { components: [ PointLight ] }
|
||||
charges: 25
|
||||
sound: /Audio/Magic/blink.ogg
|
||||
event: !type:ChangeComponentsSpellEvent
|
||||
toAdd:
|
||||
|
||||
Reference in New Issue
Block a user