Hello everyone!
1st Problem: Well, there's this map I'm wanting to edit. I got it deprotected (http://forum.wc3edit.net/fulfilled-requ ... 18737.html), and when I edit it, when I try to save it i get the following messages: 'Not all player starting locations have been placed. Automatically generate locations?' and 'This map could not be saved because the maximun number of objects has been exceeded:
Doodads: 11511 places, 8192 allowed
[...]'
How can i save the map without having to place starting locations, and how can I save it even though it has exceeded object count?
2nd Problem: In this same map, there's a spell I'm trying to edit. Its named Soul-Piercing Shot. It deals 50/80/110/140/170/200% of the hero's intelligence in damage for every shot it makes. I'd like to change the damage to 100/160/220/280/340/400% instead, but I don't know how to edit Jass triggers.
Please help, and Thanks in advance!
Help with a map & spell!
Moderator: Cheaters
-
- Forum Staff
- Posts: 269
- Joined: August 16th, 2010, 3:49 am
- Title: Not a normal Indian
Re: Help with a map & spell!
I think for your second problem you would actually need to edit the abilities data.
Spoiler:
Spoiler:
-
- Newcomer
- Posts: 17
- Joined: August 2nd, 2009, 9:43 pm
Re: Help with a map & spell!
I know which lines in the map's triggers is about this spell, but I don't know which part to change to edit the damage =/
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: Help with a map & spell!
1) use jassnewgen
2) so you don't give us the code and don't know what to do.. do 1 of them utleast xD (post the code, in spoilder and
2) so you don't give us the code and don't know what to do.. do 1 of them utleast xD (post the code, in spoilder and
Code: Select all
tags)
-
- Newcomer
- Posts: 17
- Joined: August 2nd, 2009, 9:43 pm
Re: Help with a map & spell!
I've tried using JassNewGen, but it still doesn't work for saving. =/
And about the coding of the spell: I don't know jass, so im not really sure what part is about the spell so there might be parts of another trigger in that:
It must be that, but im not sure >.<
And about the coding of the spell: I don't know jass, so im not really sure what part is about the spell so there might be parts of another trigger in that:
Code: Select all
function Zp takes nothing returns boolean
local integer ES
local integer i
local location p
if GetSpellAbilityId()=='A03V' then
set p=GetSpellTargetLoc()
set i=GetPlayerId(GetOwningPlayer(GetTriggerUnit()))
set ES=Yp(CreateUnit(GetOwningPlayer(GetTriggerUnit()),'ehip',GetUnitX(GetTriggerUnit()),GetUnitY(GetTriggerUnit()),GetUnitFacing(GetTriggerUnit())),GetLocationX(p),GetLocationY(p),500.)
set Od[ES]=(yE[$45F+GetUnitAbilityLevel(GetTriggerUnit(),'A03V')]+3.*GetHeroInt(GetTriggerUnit(),true)+yE[i])/ 8.
call RemoveLocation(p)
endif
set p=null
return false
endfunction
function eP takes nothing returns boolean
local real d
if GetUnitAbilityLevel(GetEventDamageSource(),'A05O')>0 and GetUnitAbilityLevel(GetTriggerUnit(),'B00X')>0 then
set d=GetHeroInt(GetEventDamageSource(),true)*(.2+.3*GetUnitAbilityLevel(GetEventDamageSource(),'A05O'))
call UnitDamageTarget(XH(GetOwningPlayer(GetEventDamageSource()),GetUnitX(GetTriggerUnit()),GetUnitY(GetTriggerUnit()),1.),GetTriggerUnit(),d,false,false,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_UNIVERSAL,null)
call gj(null,"+"+I2S(R2I(d+.5)),0,'d',$96,GetUnitX(GetTriggerUnit()),GetUnitY(GetTriggerUnit()),.08,.0,3.,15.)
endif
return false
endfunction
function InitTrig_Soul_Piercing_Shot takes nothing returns nothing
call zh(Condition(function eP))
endfunction
-
- Forum Spammer
- Posts: 610
- Joined: March 30th, 2009, 9:02 pm
Re: Help with a map & spell!
well....
u might wanna include function zh and eP ....
and....go to (if ur using world editor) the unit editor, click ability, go to view and tick display raw values (something like that....its near the bottom), then find the ability u wanna edit....(the names appear XXXX NameOfSkill)....take that XXXX and search it in the jass (.j file) and give us the function with that in it (most likely zh)
might be more helpful than this out of context stuffz
u might wanna include function zh and eP ....
and....go to (if ur using world editor) the unit editor, click ability, go to view and tick display raw values (something like that....its near the bottom), then find the ability u wanna edit....(the names appear XXXX NameOfSkill)....take that XXXX and search it in the jass (.j file) and give us the function with that in it (most likely zh)
might be more helpful than this out of context stuffz