Jump to content
  • 0

script for max hp + 450000


Question

Posted (edited)

hi, I need a npc that when you click increases the maximum hp by 450000, or just just the script. then I would need an autodebuff script in a specific map, for example that when you enter that map it removes all buffs automatically.

tnx! 

Edited by domez86

6 answers to this question

Recommended Posts

  • 0
Posted

NPC with OnTouch on remove buff map

bonus_script_clear 1;

 

NPC with OnTouch or click on buff map

bonus_script "{bonus bMaxHP,500000;}",86400000,0,0;

 

  • 0
Posted
14 hours ago, TARTs said:

NPC with OnTouch on remove buff map


bonus_script_clear 1;

 

NPC with OnTouch or click on buff map


bonus_script "{bonus bMaxHP,500000;}",86400000,0,0;

 

sorry, the script that removes buffs in a given map serves me automatically, without clicks, without npc. then as for npc that gives you more hp, I need a complete npc, then explain to me what it means: 86400000,0,0?

  • 0
Posted

As he said use the bonus script to add the HP. and use OnLoadMapEvent for specific maps to remove bonus_script_clear script command.
 

7 hours ago, domez86 said:

then explain to me what it means: 86400000,0,0?

go read the script command
 

bonus_script "{bonus bMaxHP,500000;}",86400000,0,0;

 

  • 0
Posted (edited)
On 4/10/2019 at 7:30 PM, Arthurion said:

As he said use the bonus script to add the HP. and use OnLoadMapEvent for specific maps to remove bonus_script_clear script command.
 

go read the script command
 


bonus_script "{bonus bMaxHP,500000;}",86400000,0,0;

 

sorry guys but maybe I didn't explain myself, then: I need an invisible npc / automatic script that removes all buffs when entering a given map. then I need a npc that when you click on it add 450000 hp. I don't understand what this means in your script: 86400000,0,0 in addition to the bonus script. and in any case this script must be executable every time you click.

 

On 4/10/2019 at 10:03 PM, crazyarashi said:

prontera,255,55,5    script    450KHP    123,{
    bonus_script "{ bonus bMaxHP,450000; }",60,512;
	dispbottom "Max HP increased by 450,000";
	end;

OnPCLoadMapEvent:
	bonus_script_clear 1;
	end;

OnInit:
	setarray .maps$,"prontera","izlude","samplemap"; //= Maps for removing bonus HP
	for(.@i = 0; .@i < getarraysize(.maps$); .@i++){
		setmapflag .maps$[.@i],MF_LOADEVENT;
    	}
	end;                                         
}

 

please explain to me what it is for: ,60,512; ? 

Edited by domez86
  • 0
Posted
prontera,255,55,5    script    450KHP    123,{
    bonus_script "{ bonus bMaxHP,450000; }",60,512;
	dispbottom "Max HP increased by 450,000";
	end;

OnPCLoadMapEvent:
	bonus_script_clear 1;
	end;

OnInit:
	setarray .maps$,"prontera","izlude","samplemap"; //= Maps for removing bonus HP
	for(.@i = 0; .@i < getarraysize(.maps$); .@i++){
		setmapflag .maps$[.@i],MF_LOADEVENT;
    	}
	end;                                         
}

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...