It's not that easy as it looks to fix this.
Will you try? How should it works outisde of PZ?
It's not that easy as it looks to fix this.
What you mean?How should it works outisde of PZ?
If someone throw field and 4 players will die on this field. Will player receive RS?What you mean?
Yes, but the caster only receives the frag (or skull) before the field decays, if i'm not mistaken.If someone throw field and 4 players will die on this field. Will player receive RS?
This should work .demon isn't dealing damage to other monster at all, like when he uses gfb etc
Omg I abuse.sñpt.of this big at 10.x version <3It's not that easy as it looks to fix this.
I personally don't like this solution, but it should be possible just changing this part:If player throw a field rune, then he got pz block for the time that the rune take for dissappearing = fix for the skull in pz?
} else if (itemId == ITEM_FIREFIELD_PVP_FULL || itemId == ITEM_POISONFIELD_PVP || itemId == ITEM_ENERGYFIELD_PVP) {
casterPlayer->addInFightTicks();
} else if (itemId == ITEM_FIREFIELD_PVP_FULL || itemId == ITEM_POISONFIELD_PVP || itemId == ITEM_ENERGYFIELD_PVP) {
casterPlayer->addInFightTicks(true);
Why? It will cause future errors or changes another behavior inside the game? I'm on my.phone so I can't read the.lines wellI personally don't like this solution, but it should be possible just changing this part:
combat.cpp
for this:Code:} else if (itemId == ITEM_FIREFIELD_PVP_FULL || itemId == ITEM_POISONFIELD_PVP || itemId == ITEM_ENERGYFIELD_PVP) { casterPlayer->addInFightTicks();
Code:} else if (itemId == ITEM_FIREFIELD_PVP_FULL || itemId == ITEM_POISONFIELD_PVP || itemId == ITEM_ENERGYFIELD_PVP) { casterPlayer->addInFightTicks(true);
Nothing special, i just don't like it .Why? It will cause future errors or changes another behavior inside the game? I'm on my.phone so I can't read the.lines well
you could check tfs 7.72 maybe in there youll find a better solutionNothing special, i just don't like it .
local config = {
firePositions = {
Position(32100, 32084, 7),
Position(32101, 32084, 7),
Position(32102, 32084, 7),
Position(32100, 32085, 7),
Position(32100, 32086, 7),
Position(32101, 32086, 7),
Position(32102, 32086, 7),
Position(32102, 32085, 7)
},
swordPosition = Position(32101, 32085, 7),
-- [actionid] = value which the storage must have to proceed
[5635] = -1,
[5636] = 0
}
-- If players step on the 2 tiles in correct order Sword of Fury will disappear
function onStepIn(creature, item, position, fromPosition)
local player = creature:getPlayer()
if not player then
return true
end
local setting = config[item.actionid]
if not setting then
return true
end
local storage = Game.getStorageValue(GlobalStorage.SwordOfFury)
if storage ~= setting then
return true
end
Game.setStorageValue(GlobalStorage.SwordOfFury, storage + 1)
if storage == 0 then
local tmpItem
for i = 1, #config.firePositions do
tmpItem = Tile(config.firePositions[i]):getItemById(1492)
if tmpItem then
tmpItem:transform(1494)
end
end
tmpItem = Tile(config.swordPosition):getItemById(2383)
if tmpItem then
tmpItem:remove()
config.swordPosition:sendMagicEffect(CONST_ME_MAGIC_RED)
end
end
return true
end
That script is from another datapack. Bro it has no place in here open a thread on support ,I have problem wiyh this sctypt.
View attachment 42205
Lua:local config = { firePositions = { Position(32100, 32084, 7), Position(32101, 32084, 7), Position(32102, 32084, 7), Position(32100, 32085, 7), Position(32100, 32086, 7), Position(32101, 32086, 7), Position(32102, 32086, 7), Position(32102, 32085, 7) }, swordPosition = Position(32101, 32085, 7), -- [actionid] = value which the storage must have to proceed [5635] = -1, [5636] = 0 } -- If players step on the 2 tiles in correct order Sword of Fury will disappear function onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if not player then return true end local setting = config[item.actionid] if not setting then return true end local storage = Game.getStorageValue(GlobalStorage.SwordOfFury) if storage ~= setting then return true end Game.setStorageValue(GlobalStorage.SwordOfFury, storage + 1) if storage == 0 then local tmpItem for i = 1, #config.firePositions do tmpItem = Tile(config.firePositions[i]):getItemById(1492) if tmpItem then tmpItem:transform(1494) end end tmpItem = Tile(config.swordPosition):getItemById(2383) if tmpItem then tmpItem:remove() config.swordPosition:sendMagicEffect(CONST_ME_MAGIC_RED) end end return true end
some body help??
Did you fixed this?
No. Is missingThat script is from another datapack. Bro it has no place in here open a thread on support ,
OBS: most of the scripts from the datapack that you're using are fucked, so my suggestions is replace them with the ones from the otbr global 12 I did that 0 effort
Post automatically merged:
Did you fixed this?
No. Check at nostalrius, but should add few functionsNo. Is missing
Do you have properly scrypt for tfs 1,2??
yes ok but try dring somthing from mug
okNo. Check at nostalrius, but should add few functions
Check IDs in items.xml and your sources tooyes ok but try dring somthing from mug
Post automatically merged:
ok