Jump to content
  • 0

Can Someone Help me with this healer script?


Question

9 answers to this question

Recommended Posts

Posted

*getguildmasterid(<guild id>) - This function will return the character ID number of the guild master of the
guild specified by the ID.
*getcharid(<type>); - This function will return an unique ID of the invoking character; 0 for character id and 2 for guild id

When combined:

if(getcharid(0) == getguildmasterid(getcharid(2)){
 // Give guildmaster buffs here
}

Posted (edited)

CMIIW

this script will working if i put the guild id but it doesn't automatically change if the owner guild castle change, and thee effect just for guild leader isn't it?

if it possible, can u make that npc will give assumptio to all member of guild that own castle?

set .@ownerguild;

if ( getcastledata( "all*castle or gvg map", ".@ownerguild")

i think it's gonna be something like this..

sorry for my bad english >_<

Edited by Chickz
Posted (edited)

You put '.gat' at the end of the mapname. You don't add that, just the name of the map you'd use to @warp to it ingame. Like, 'prontera', 'izlude', etc.

prontera,150,184,5<TAB>script<TAB>Healer#h1-1::Healer<TAB>834,{

PS: I'm pretty sure 'Assumptio' is disabled by default in WoE. You'll have to edit the SRC code to change it I believe.

Edited by Yanji
Posted

http://pastebin.com/yNtqzh7L

may it suppose to be like this right?

so only member of guild that own castle will be able to get assumptio

then how if there's more 1 castle open?

e.g : prtg_cas01 & prtg_cas02

if (getcastledata( "NAMEOFCASTLE","NAMEOFCASTLE", 1) != getcharid(2)) end;

is it like this? CMIIW

Thanks Before ^^

Posted

You put '.gat' at the end of the mapname. You don't add that, just the name of the map you'd use to @warp to it ingame. Like, 'prontera', 'izlude', etc.

prontera,150,184,5<TAB>script<TAB>Healer#h1-1::Healer<TAB>834,{

PS: I'm pretty sure 'Assumptio' is disabled by default in WoE. You'll have to edit the SRC code to change it I believe.

You don't have to put .gat. I seriously hate it when people put .gat at the end of the mapname in the header, it looks so ugly.

Posted

i think it'll work smoothly... I'm not test it yet...

thank you hurican dooders ^^

@yanji

that's not the point for my question...

but thanks for comment ^^

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...