mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Ported component AI to the new component system (#30751)
* wip new component ai * wip 2 * he lives * fixes * comment
This commit is contained in:
@@ -32,8 +32,7 @@
|
||||
I.attack(src, user, def_zone, originator)
|
||||
else
|
||||
I.attack(src, user, def_zone)
|
||||
if(BrainContainer)
|
||||
BrainContainer.SendSignal(COMSIG_ATTACKEDBY, list("assailant"=user,"damage"=I.force))
|
||||
invoke_event(/event/attackby, list("attacker" = user, "item" = I))
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user