Mikhail von Hohenheim
New member
- Messages
- 125
- Points
- 0
- Github
- mvhohenheim
- Emulator
Uhm,, can someone please check out a script for me please,,
I started the script from a request from this thread: http://herc.ws/board/topic/11244-help-monster-kill/
well,,
basically this script will give stats (like str, agi, vit, etc),, depending on the number of kills of a certain monster,, but the amount of kills required per monster will increase checking the stat of the player,,
here's the script that i was able to make,,
// kill 10 monsters gets 1 status point- script PoringKill FAKE_NPC,{OnNPCKillEvent: if ( readparam(bLuk) < 5 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 10 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 10 >= 5) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 15 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 15 >= 10 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 50 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 20 >= 15 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 100 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 30 >= 20 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 150 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 40 >= 30 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 250 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 50 >= 40 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 500 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 60 >= 50 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 1000 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 70 >= 60 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 2500 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 80 >= 70 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 5000 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 90 >= 80 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 10000 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 100 >= 90 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 25000 ) { statusup2 bLuk, 1; poringkill = 0; } } end;}
I started out from poring as my basis for the monster,, but i also was able to make some for fabre, picky, willow, drops, and chonchon,.,,
i placed them here:
npc: npc/custom/monsterkillexp/strmonsters/picky.txtnpc: npc/custom/monsterkillexp/agimonsters/chonchon.txtnpc: npc/custom/monsterkillexp/vitmonsters/fabre.txtnpc: npc/custom/monsterkillexp/intmonsters/willow.txtnpc: npc/custom/monsterkillexp/dexmonsters/drops.txtnpc: npc/custom/monsterkillexp/lukmonsters/poring.txt
input the code in scripts_custom.conf
then when testing,, i summoned each monster out,, but,, it only worked 1 time on each monster after the amount of kill,,
after it gave 1 stat,, it never worked again,,
can someone please check it out,,
and enlighten me,,
I started the script from a request from this thread: http://herc.ws/board/topic/11244-help-monster-kill/
well,,
basically this script will give stats (like str, agi, vit, etc),, depending on the number of kills of a certain monster,, but the amount of kills required per monster will increase checking the stat of the player,,
here's the script that i was able to make,,
// kill 10 monsters gets 1 status point- script PoringKill FAKE_NPC,{OnNPCKillEvent: if ( readparam(bLuk) < 5 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 10 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 10 >= 5) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 15 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 15 >= 10 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 50 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 20 >= 15 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 100 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 30 >= 20 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 150 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 40 >= 30 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 250 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 50 >= 40 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 500 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 60 >= 50 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 1000 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 70 >= 60 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 2500 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 80 >= 70 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 5000 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 90 >= 80 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 10000 ) { statusup2 bLuk, 1; poringkill = 0; } } if ( readparam(bLuk) < 100 >= 90 ) if ( killedrid == PORING ) { poringkill++; if ( poringkill == 25000 ) { statusup2 bLuk, 1; poringkill = 0; } } end;}
I started out from poring as my basis for the monster,, but i also was able to make some for fabre, picky, willow, drops, and chonchon,.,,
i placed them here:
npc: npc/custom/monsterkillexp/strmonsters/picky.txtnpc: npc/custom/monsterkillexp/agimonsters/chonchon.txtnpc: npc/custom/monsterkillexp/vitmonsters/fabre.txtnpc: npc/custom/monsterkillexp/intmonsters/willow.txtnpc: npc/custom/monsterkillexp/dexmonsters/drops.txtnpc: npc/custom/monsterkillexp/lukmonsters/poring.txt
input the code in scripts_custom.conf
then when testing,, i summoned each monster out,, but,, it only worked 1 time on each monster after the amount of kill,,
after it gave 1 stat,, it never worked again,,
can someone please check it out,,
and enlighten me,,