Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {$lua}
- if not syntaxcheck then
- local FirstWeaponId = 0xD68BD4 -- place the weapon ID here, in Hex or Decimal
- local SecondWeaponId = 0xA80548 -- place the weapon ID here, in Hex or Decimal
- local WeaponArray = {
- {WeaponId,0x40,"0F C4 00 00"}, --Effect on Hit 1
- -- {WeaponId,0x44,"FF FF FF FF"}, --Effect on Hit 2
- -- {WeaponId,0x48,"FF FF FF FF"}, --Effect on Hit 3
- -- {WeaponId,0x4C,"FF FF FF FF"}, --Effect on Self 1
- -- {WeaponId,0x50,"FF FF FF FF"}, --Effect on Self 2
- -- {WeaponId,0x54,"FF FF FF FF"}, --Effect on Self 3
- -- {SecondWeaponId,0x40,"FF FF FF FF"}, --Effect on Hit 1
- -- {SecondWeaponId,0x44,"FF FF FF FF"}, --Effect on Hit 2
- -- {SecondWeaponId,0x48,"FF FF FF FF"}, --Effect on Hit 3
- {SecondWeaponId,0x4C,"78 05 00 00"}, --Effect on Self 1 -- Restore HP
- -- {SecondWeaponId,0x50,"FF FF FF FF"}, --Effect on Self 2
- -- {SecondWeaponId,0x54,"FF FF FF FF"}, --Effect on Self 3
- }
- ParamIterator("EquipParamWeapon",WeaponArray,"WeaponEffects")
- end
- [DISABLE]
- {$lua}
- if not syntaxcheck then
- ParamDepatcher("WeaponEffects")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement