|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtualinherited |
Allows you to determine the speed at which a 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).
| npc | |
| multiplier | |
| gravityCorrection | |
| randomOffset |
Definition at line 730 of file GlobalNPC.cs.