I tried to write a copy of Signal_Pearl.lua, but how to call Helper Player work?
Which spawning should be called for?
Call the devil it will not work HP = 0 damage = 1
How can I debug?
\scripts\globals\items\SIgnal_pearl.lua
-- ID: 14810
-- Signal Pearl
-- Player Helper
-- OnItemCheck
function onItemCheck(target)
return 0;
end;
-- OnItemUse
function onItemUse(target)
local duration = 3600;
target:spawnPet(PET_IFRIT);
target:getPet():addHP( 50000 );
target:getPet():addMod(MOD_ATT,2500);
end;
Someone did, how did he do it?
Signal pearl the success of the work, should be how to set u
-
- Posts: 14
- Joined: Thu Jun 23, 2016 1:50 am
- buddysievers
- Posts: 97
- Joined: Thu Dec 06, 2012 12:10 pm
- Location: Germany
Re: Signal pearl the success of the work, should be how to s
Whats a player helper?
A trust?
A trust?
Re: Signal pearl the success of the work, should be how to s
To my knowledge, there is no scripting done on the adventurer fellow, so using the item, if it is even usable, would not do much.
Re: Signal pearl the success of the work, should be how to s
faked pet object . pet names are sent in packet.
Hi, I run The Demiurge server.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
DO NOT PRIVATE MESSAGE ME ABOUT BUGSPLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE