HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Removing Skills After an Event

View previous topic View next topic Go down 
AuthorMessage
ShadoWolfozo

avatar

Game username : ShadoWolfozo
Server : GROWL: Spirits
Male Posts : 875
Join date : 2012-01-22
Age : 21
Location : Australia

PostSubject: Removing Skills After an Event   Fri Aug 01, 2014 2:54 pm

I know there's the addSkill("Skillname",#) in the code to give skills after an event (like killing prey) and there is not one to remove skills, I am not overly knowledgable in coding so I am hoping someone can point me in the right direction.

How would I create a removeSkill command so it acts exactly the same as addSkill, but deducts the amount (or removes it entirely) instead of adding?

Any help is appreciated but please no vague or possibly misleading answers.



Thank you.

-Ruuqo
Back to top Go down
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2575
Join date : 2011-07-24
Age : 30

PostSubject: Re: Removing Skills After an Event   Fri Aug 01, 2014 3:01 pm

As you found out. Copy pasta the whole deal, rename that to removeSkill.
Instead of + do -

________________________________
Retired
Back to top Go down
ShadoWolfozo

avatar

Game username : ShadoWolfozo
Server : GROWL: Spirits
Male Posts : 875
Join date : 2012-01-22
Age : 21
Location : Australia

PostSubject: Re: Removing Skills After an Event   Fri Aug 01, 2014 3:28 pm

Okay, lol seems simple enough will try this and see.
Back to top Go down
 
Removing Skills After an Event
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support :: Solved Support Issues-
Jump to: