PureOwnage
Minecraft Server OP, Inactive.
- Reaction score
- 72
PureOwnage's Skill Buying Item System
Q: WTFBBQ is a Skill Buying Item System?????!!!
A: It runs off a spellbook which contain skills that buy items.
To add an item skill:
That is one of my examples. As you can see, I check if the person has enough gold and give it and then subtract it from him.
The holding position is to stop the channeling (which looks weird)
To make the skill, just simply make a skill based off channel.
MAKE SURE YOUR BASE ORDER ID IS DIFFERENT THAN ALL OTHER SKILLS!
The spell book of course is already made and can be modified right in your Editor.
Please note that this map was NOT made in NewGen.
Q: WTFBBQ is a Skill Buying Item System?????!!!
A: It runs off a spellbook which contain skills that buy items.
To add an item skill:
Code:
Buying Claws of Attack 15
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Claws of Attack +15
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) Current gold) Greater than or equal to 800
Then - Actions
Hero - Create Claws of Attack +15 and give it to (Triggering unit)
Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 800)
Special Effect - Create a special effect attached to the origin of (Triggering unit) using Objects\Spawnmodels\Other\ToonBoom\ToonBoom.mdl
Wait 2.00 seconds
Unit - Order Paladin 0001 <gen> to Hold Position
Else - Actions
Game - Display to (All players) the text: You do not have eno...
Wait 2.00 seconds
Unit - Order Paladin 0001 <gen> to Hold Position
The holding position is to stop the channeling (which looks weird)
To make the skill, just simply make a skill based off channel.
MAKE SURE YOUR BASE ORDER ID IS DIFFERENT THAN ALL OTHER SKILLS!
The spell book of course is already made and can be modified right in your Editor.
Please note that this map was NOT made in NewGen.