• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Gamble?

Status
Not open for further replies.
Level 8
Joined
Jan 18, 2007
Messages
331
how do i recreate a copy of a spell called Gamble in the most AngelArenas? wen pushcased you got 50-80% of getting an item. i know that i can use a combination of some intrigers but how? thanx for any future posts.
 
Level 19
Joined
Nov 16, 2006
Messages
2,165
Create an ability based on a book (to buy).
Make sure the book doesn't add any stats.
Create the following trigger:
  • Gamble
    • Events
      • Unit - A unit Sells an item (from shop)
    • Conditions
      • (Item-type of (Sold Item)) Equal to Tome of Experience (Gamble)
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 10 and 100) Less than or equal to 30
        • Then - Actions
          • Item - Create (Random level 1 item-type) at (Your Position)
        • Else - Actions
          • Do nothing
(Random integer number between 10 and 100) Less than or equal to 30
-> 30 = 30% chance so if u want 80% chance then change 30 to 80, and so on.
You can modify the items.
 
Status
Not open for further replies.
Top