|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtual |
Allows you to determine the speed at which this town NPC throws a projectile when it attacks. Multiplier is the speed of the projectile, gravityCorrection is how much extra the projectile gets thrown upwards, and randomOffset allows you to randomize the projectile's velocity in a square centered around the original velocity. This hook is only used when the town NPC has an attack type of 0 (throwing), 1 (shooting), or 2 (magic).
| multiplier | |
| gravityCorrection | |
| randomOffset |
Definition at line 802 of file ModNPC.cs.