Jump to content
  • 0

Can Someone Help me with this healer script?


Chickz

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  03/18/12
  • Last Seen:  

this is my script

http://pastebin.com/F7p0HF70

is there possible if guild castle owner will have extra buffs like assumptio?

my server is eathena :)

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  130
  • Reputation:   43
  • Joined:  12/11/11
  • Last Seen:  

*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
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  03/18/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   1
  • Joined:  06/22/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  03/18/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   28
  • Joined:  01/16/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  183
  • Reputation:   15
  • Joined:  06/10/12
  • Last Seen:  

for add more castle, use the same if(

eg:

&& getcastledata( "NAMEOFCASTLE2", 1) != getcharid(2)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  03/18/12
  • Last Seen:  

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

Link to comment
Share on other sites

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.

×
×
  • Create New...