buda Posted November 3, 2012 Posted November 3, 2012 Requesting for A GM item: Description is 100% chance to percentheal 100,100; when receiving all kinds of damage thanks master scripters!!!! Goodluck to all of you guys! Quote
Bin4ry Posted November 3, 2012 Posted November 3, 2012 bonus3 bAutoSpellWhenHit,"NPC_ALLHEAL",1,1000; Quote
AnnieRuru Posted November 3, 2012 Posted November 3, 2012 I remember I got killed by pressure and tarot card of fate using that bonus http://www.eathena.ws/board/index.php?showtopic=183709 http://www.eathena.ws/board/index.php?showtopic=238332 http://www.eathena.ws/board/index.php?showtopic=273493 the only way is to pump your hp high and have high hp regeneration ... Quote
buda Posted November 5, 2012 Author Posted November 5, 2012 is there any chance that we can put percentheal 100,100; ? Quote
Dastgir Posted November 5, 2012 Posted November 5, 2012 (edited) I remember once , I used a script with each 10 mili-second hp check , . Its easy by that haha. Edit: Requesting for A GM item: Description is 100% chance to percentheal 100,100; when receiving all kinds of damage thanks master scripters!!!! Goodluck to all of you guys! Suggestion: Make your gm @monsterignore. Edited November 5, 2012 by dastgirpojee Quote
AnnieRuru Posted November 5, 2012 Posted November 5, 2012 I remember once , I used a script with each 10 mili-second hp check , .like this ? OnPCLoginEvent: if ( getgmlevel() < 99 ) end; while ( playerattached() ) { if ( hp != maxhp ) { .@hp = maxhp - hp; // skilleffect 28, .@hp; heal .@hp, 0; } if ( sp != maxsp ) { .@sp = maxsp - sp; // skilleffect 9, .@sp; heal 0, .@sp; } sleep2 250; } @monsterignore is more practical ... creating a bonus like this will only make players jealous of you Quote
Dastgir Posted November 5, 2012 Posted November 5, 2012 (edited) I remember once , I used a script with each 10 mili-second hp check , .like this ? OnPCLoginEvent: if ( getgmlevel() < 99 ) end; while ( playerattached() ) { if ( hp != maxhp ) { .@hp = maxhp - hp; // skilleffect 28, .@hp; heal .@hp, 0; } if ( sp != maxsp ) { .@sp = maxsp - sp; // skilleffect 9, .@sp; heal 0, .@sp; } sleep2 250; } @monsterignore is more practical ... creating a bonus like this will only make players jealous of you Yes, Why Jealous, This script is meant for GM only. @buda You can lower that sleep2 250; 250 = 25ms. @Annie what if we do 1 ms, will it lag? Edited November 5, 2012 by Dastgir Pojee Quote
AnnieRuru Posted November 5, 2012 Posted November 5, 2012 I don't think this script will lag the definition of lag is sent data to client, where there are some script commands run through the clif.c file playerattach(), hp, maxhp, sp, maxsp are calculated internally in map-server.exe but still, running in 1ms will eat up a lot of RAM usage ( I believe currently fastest RAM is DDR3 2GB ? or maybe I'm outdated ... depends on your server host data-center I guess ) so its still discourage to do so some commands that will confirm lagging players are waitingroom ... announce ... which confirmed run through clif.c Quote
Question
buda
Requesting for A GM item:
Description is 100% chance to percentheal 100,100; when receiving all kinds of damage
thanks master scripters!!!!
Goodluck to all of you guys!
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.