• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Creating a custom ability - spell description formulas

Status
Not open for further replies.
Level 5
Joined
Aug 23, 2008
Messages
116
Hi!

I created some custom abilities, but now I saw that the description of them in the game is wrong. E.g a ability damages a unit for 50 HP (thats okay) but the description says that the damage is 75 point. I recognize that the problem is a small text:

E.g. "The ability causes <AHtb,DataA1> Damage" ( <???>

What is the right text for my ability and where can I found it?



MfG

Cyrax
 
I'm not totally sure how to use raw codes... why don't you write it manually? Like if you set the damage to 50, than write in text 50 damage(not the raw code, clear the raw code and write "50 damage")
And also if you will start to make triggered spells, you will have to write tooltips manually.

Edit: to see what is raw data press ctrl+d.
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
Those are the ability rawcodes.
Let's go to a spell, Shadow Strike for example. In the upper table, click View and tick Display Values As Raw Data.
Here is the ability's description:
Hurls a poisoned dagger at a target enemy unit, dealing <AEsh,DataE1> initial damage (...)
First comes the ability name. If you look at Shadow Strike you'll realize that there's an 'AEsh' standing before it. This is the ability's raw code.
Now go to View, and tick off Display Values As Raw Data. Find "Data - Initial Damage" (still in the Shadow Strike spell). Left-click it once. Hold Ctrl and press D (this is a shortcut for the "Display Values As Raw Data" field), and you'll notice that it displays as DataE1 now.
So we have it figured out:
<AEsh,DataE1> returns the real number on field DataE1 from the ability 'AEsh', which is the Initial Damage on Level 1 of the Shadow Strike ability.
 
Status
Not open for further replies.
Top