Spell Book Levels Problem!

Kyzerdrood

New Member
Reaction score
3
Hey im making a rpg, where you get a item, and its not dropable, and when you pick it up you get a spellbook, and when you pick up the next level of the item, you get the next level of the spellbook, but it doesnt work right and you cant see the skills when you lvl em up!


Code:
MM Skills2
    Events
        Unit - A unit Acquires an item
    Conditions
        (Item-type of (Item being manipulated)) Equal to GMGun2
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Name of (Owner of (Hero manipulating item))) Equal to %%%%) or (((Name of (Owner of (Hero manipulating item))) Equal to %%%%) or (((Name of (Owner of (Hero manipulating item))) Equal to %%%%) or ((Name of (Owner of (Hero manipulating item))) Equal to %%%%)))
            Then - Actions
                Unit - Set level of Skillz MM for (Hero manipulating item) to 2
            Else - Actions
                Game - Display to (All players) the text: Your not a map make...
                Item - Remove (Item being manipulated)

What am i doing wrong? the skills are right and have been modifyd to fit in the first and second line.
 

WolfieeifloW

WEHZ Helper
Reaction score
372
Use this:
Trigger:
  • Or - Any (Conditions) are true
    • Conditions

It's a lot easier and looks nicer.
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
Trigger:
  • Events
    • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to GMGun2
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Item-type of (Item carried by (Hero Manipulating Item) in slot (Random integer number between 1 and 6))) Equal to GMGun1
        • Then - Actions
          • Hero - Drop (Item carried by (Hero Manipulating Item) of type GMGun1) from (Hero Manipulating Item)
          • Item - Remove (Last dropped item)
          • Hero - Create GMGun2 and give it to (Hero Manipulating Item)
        • Else - Actions

P.S.: Spellbooks don't gain level ups.
 

CaptDeath

New Member
Reaction score
103
Why do you ask if hero name is %%%%%
((Name of (Owner of (Hero manipulating item))) Equal to %%%%) or (((Name of (Owner of (Hero manipulating item))) Equal to %%%%) or (((Name of (Owner of (Hero manipulating item))) Equal to %%%%) or ((Name of (Owner of (Hero manipulating item))) Equal to %%%%)))
4 times?
ill be back soon i got to uninstall norton for dad
 

Kyzerdrood

New Member
Reaction score
3
%%%% Im just hiding the names of the characters, there not going to really be that


And I did that earlier pharoah and it didnt work either, and i made the spellbook a hero ability and added levels, does that not work??
 

WolfieeifloW

WEHZ Helper
Reaction score
372
Your trigger is pointless...
The unit gets the item, drops it, it gets destroyed, then he just gets it again?
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
1) Check the new edited version.
2) You will need to make a second spellbook of course.
3) Spellbook is an item, not a hero ability, make it "Item ability", as default.
 

Kyzerdrood

New Member
Reaction score
3
I dont want the players to know they get the ability from the item

It drops OLD item and gets a NEW Item, thats NAMED The same thing, but different

I made more than one spellbook and it did the same thing, abilitys didnt "Show"
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top