Hello
I was doing a script and used the doAreaCombatHealth command.
But i would like to set all players in this area, where the combat is created, the StorageID 1000 to Value 1.
I am using it like this:
But I don't want to do a spell, it won't be able to do what I want as a spell.
I just want to get a possibilty how to set these player the storage id or I want to get the positions to get the player if there is one on this position.
I was doing a script and used the doAreaCombatHealth command.
But i would like to set all players in this area, where the combat is created, the StorageID 1000 to Value 1.
I am using it like this:
Code:
local area1 = createCombatArea{
{0, 1, 0},
{1, 3, 1},
{0, 1, 0},
}
doAreaCombatHealth(0,COMBAT_PHYSICALDAMAGE, pos, area1,0,0,50)
But I don't want to do a spell, it won't be able to do what I want as a spell.
I just want to get a possibilty how to set these player the storage id or I want to get the positions to get the player if there is one on this position.