mana use of phenixfire

SerraAvenger

Cuz I can
Reaction score
234
for my map ctf i want to use an item that gives a phenixfire modification, and I want this to use mana ( depending on the distance of the target) each time the phenixfire deals damage
The ability is neither cast nor channeled when it does the damage, so an event refering to ability being cast doesn't help me
Could you please tell me wich event to use or what to do?
thx Serra
 

SerraAvenger

Cuz I can
Reaction score
234
Well as you should now actually I don't have my wc 3 here, but next friday i will see

but I don't think so as this is not how phenixfire works

Phenixfire works like this:
Every cooldown seconds, a random unit in range (default is 600) is dealt damage (20 default)
and then adds the phenixfire buff to the target for idontknow second and deals 5 damage per second to that target

So if this works on attack/cast/channel or st like that it won't help me I tried all these things before
Phenixfire is passive, so it is never cast/channeled
and it does not attack

So I need a trigger that executes when the target of the phenixfire is set

greets Serra
 

SerraAvenger

Cuz I can
Reaction score
234
no these are attacks like searing arrow or heal
And too, I don't need an autocast spell, I need an event that detects phenixire usage


Phenixfire isnot cast, it is passive
Just like a passive Immolation that needs no mana
but doesn't target all enemys in range but targets 1 random unit in its range
 

Pyrogasm

There are some who would use any excuse to ban me.
Reaction score
134
The word is "Phoenix", not "Phenix".
 
E

ekZ

Guest
You could check for the buff that phoenix fire gives off periodically and then find the distance between that unit and the unit with phoenix fire, reduce mana as wanted, and then remove the buff.
 

SerraAvenger

Cuz I can
Reaction score
234
Thx that you wated to help, but all of this won't have an effect...
Seems as if I had to explain what the phoenixfire mod is exactly:
I have called it "Fireball staff", added it to aan item that can by ourchased by anyone as often as he wants.
It has cooldown of 2.99 seconds and deals 45 damage. The buff is only 0.01 seconds on the target, as being on the target will block further triggering of phenixfire...
SO I would have to pick all units in play every 0.01 seconds and check if this unit has phoenixfire on it - but how would I get the owner of the item that has put the phoenixfire buff on it?`Randomly =.=??

What I tried was "A unt starts the effect of an ability". Does not work.

I'll try "Unit xyz is damaged" with the condition "if has phenixfire buff on it"
and then reduce source of damage the mana I want. Ty for trying any ways, +rep for ekZ and Sooda

EDIT: sry sooda cant rep you have to spread it around^^
 

johnnyfire

New Member
Reaction score
8
The closest you can get to the result you want i think would be to make pheonix fire a turn on and off ability... but if it is on an item i don't think that would work... srry i couldn't help more
 

Psiblade94122

In need of sleep
Reaction score
138
umm how do i delete this post >.< this is what happens when your reading too many threads at the same time srry >.< (you start posting in the wrong one)
 

denmax

You can change this now in User CP.
Reaction score
155
You can delete your post byu pressing edit, then pressing edit again, then you will have an option on deleting it (I'm not entirely sure if this feature is also available here..

Back to Topic:
You can trigger the Phoenix Fire and every use of it will decrease your mana but it will take long. If you really want to have PF using mana then you have to trigger it..
 

SerraAvenger

Cuz I can
Reaction score
234
You can delete your post byu pressing edit, then pressing edit again, then you will have an option on deleting it (I'm not entirely sure if this feature is also available here..

Back to Topic:
You can trigger the Phoenix Fire and every use of it will decrease your mana but it will take long. If you really want to have PF using mana then you have to trigger it..



Lol how do you want to trigger phoenixfire?
When unit comes into range of xyz
then every xyz seconds
if distance between entering unit and .. ??? <- I do not know what to put here... <= yzx
the deal damage to unit
else do nothing

Well what abpout the special effects?
ANd it will tkae too much time, I would need one of these triggers for each of the ~30 modifications .....

And I will use my own Idea now. If it doesn't work I will return to you...
 

ThySpektre

TH.net Regular
Reaction score
10
There is no way to do whaty you intend. It has been discussed multiple times in the help forums.

ThySpektre
 

Duwenbasden

Ver 6 CREATE energy AS SELECT * FROM u.energy
Reaction score
165
Use immolation in conjunction with dummy units, that's the only way. It won't be the same though. You aren't using mana for PF, and you cannot stop PF from firing to every single enemy in range.
 

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
Could always do an event that does Unit - A unit acquires an item
Conditions -
Item is your item
Actions -
Trigger - Turn on Phoenix Mana Loss
Set Phoenix Unit = Unit Acquiring Item

Events -
Every 1 second of the game
Condition -
Blehh
Actions -
Set Phoenix Unit Mana to Blah
 

Psiblade94122

In need of sleep
Reaction score
138
how bout this?

use this only if there is no base attack on your units
trig 1

Event: Unit enters playing feild
Actions: Add event: Unit <triggering unit> Takes damage to trig 2

Trig 2

Events: Defined by trig 1
Conditions: Damage source has item <your item>
<if there is no armor in your game> Damage delt is = <your damage of item>
<if you are useing method below> Damage source = dummy
Actions:
<if useing method below> Set mana of item berrer [player # of owner of damage cource] to current mana (item berrer [player # of owner of damage cource] - 1)
Set mana of damage source to (mana of damage source - <your #>)


and if there is a base attack

The rest functions just add above useing the variables instead od damage source and such

Event: unit aquires item <your item>
condition: item aquired = <your item>
Action: Set (unit) Item bearer [player # of owner of hero aquireing item]
Unit create dummy<has phenix fire ability> at position of Item bearer
[player # of hero aquireing item]
Set: PF [player # of owner of hero aqureing item] = last created unit
Events: every .1 seconds
Actions: Player group: pick every player in game
move instantly PF [ player # of picked player] to (unit
position of (item berrer [ player # of picked player])

Events: unit sells an item
unit drops an item
Conitions: Sold item = <your item>
-OR-
Dropped item = <your item>
Actions: Set Item berrer [player # of owner of selling unit] to no unit
Set Item berrer [player # of owner of dropping unit] to no unit
Set PF [player # of owner of selling unit] to no unit
Set PF [player # of owner of dropping unit] to no unit
 

SerraAvenger

Cuz I can
Reaction score
234
Right, but that drains mana regardless of whether you are "firing" or not.

Not only that, it isn't mui neither....

At psiblade:
Hum nice Idea. Problems:
-You do not need to check for the item if you check for the buff, I think checking iwll need less than 0.01 seconds, so my way could be a bit better. checking for the item ha 6 extra lines, and i have to check for each of the different item that have uch a pf mod on it... will be efficienter with my thing
-Armor != 0 :). so your way would not work.
-If the unit deals exactly as much damage as the weapon would, it reduces mana - even if I did not want so!
-If you make it with the dummy, it i no longer mui. When you get the item twice you would need two pf's, but yor variable only hold one. Too, when you drop the item, all of your pf's would be removed - even if you have 2 additional ones...

so I will use my Idea. If it works, I'll give you - rep Thespectre;) (just a joke ;))
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top