in this version i have remove invulnerable pierce function to realism for take damage so if target has use block (percent calculate) /shield (percent calculate)/ invulnerable damage cant take it
if you like invulnerable pierce function copy this to fix it it operative to Attack Damge/Skill Damage/Return Damge function [spoiler=Fukki CP -> damage balance calculate]
function Fukki_Damage_Action7 takes unit fu2u,unit fu3u,real fr2r returns nothing local integer fi2i=GetUnitTypeId(fu3u) local real fr3r=GetWidgetLife(fu3u) local real fr4r=LoadReal(fhact[0],255,fi2i) local real fr5r=0 if fr3r>0then if fr4r<=0then call Fukki_Damage_Action19(fu2u,fu3u,fr2r) else call Fukki_Damage_Action19(fu2u,fu3u,fr2r+((fr2r*fr4r)/100)) endif set fr5r=GetWidgetLife(fu3u) set fr3r=((fr3r-fr5r)/fr2r)*100 if fr5r>0then if fr3r<1then call SetWidgetLife(act_u3u,fr5r-fr2r) elseif fr3r<100then set fr3r=100-fr3r if fr3r>fr4r then set fr5r=fr4r+(fr3r-fr4r) else set fr5r=fr4r+(fr4r-fr3r) endif call SaveReal(fhact[0],255,fi2i,fr5r) elseif fr3r>100then call SaveReal(fhact[0],255,fi2i,fr4r-(fr3r-100)) endif endif endif endfunction
[/spoiler]
Re: [FukKi CP] - Rate Editor Final
Posted: July 6th, 2014, 8:23 pm
by de8p
hye guys im new here.. i wonder how to use that notepad..can any1 tells me?
Re: [FukKi CP] - Rate Editor Final
Posted: October 16th, 2015, 4:21 am
by MrZack
Can someone help me figure out whats wrong here?
Spoiler:
function main takes nothing returns nothing call Fukki_CP_Config() if i put CP call here all stuff below doesnt get loaded and map is essentially broken and unplayable call SetCameraBounds(-11520.0+GetCameraMargin(CAMERA_MARGIN_LEFT),-11776.0+GetCameraMargin(CAMERA_MARGIN_BOTTOM),11520.0-GetCameraMargin(CAMERA_MARGIN_RIGHT),11264.0-GetCameraMargin(CAMERA_MARGIN_TOP),-11520.0+GetCameraMargin(CAMERA_MARGIN_LEFT),11264.0-GetCameraMargin(CAMERA_MARGIN_TOP),11520.0-GetCameraMargin(CAMERA_MARGIN_RIGHT),-11776.0+GetCameraMargin(CAMERA_MARGIN_BOTTOM)) call SetDayNightModels("Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl","Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl") call SetTerrainFogEx(0,3000.0,5000.0,0.500,0.000,0.000,0.000) call NewSoundEnvironment("Default") call SetAmbientDaySound("LordaeronSummerDay") call SetAmbientNightSound("LordaeronSummerNight") call SetMapMusic("Music",true,0) call InitSounds() call CreateRegions() call InitUpgrades() call CreateAllItems() call CreateAllUnits() call InitBlizzard() call InitGlobals() call InitCustomTriggers() call RunInitializationTriggers() call Fukki_CP_Config() if i put CP call here everything works but the CP endfunction
CP only works if i put the call at the top, but the map itself only works if i put the call at the bottom.
Re: [FukKi CP] - Rate Editor Final
Posted: October 16th, 2015, 10:02 am
by NumberXIII
I've encounter this before also but can't remember how i fixed, Mind telling what map you trying to inject wth?
Oh i hacked the previous version of that, try Backspacing some lines in Quests, don't remove the blp part&there are lso some anticheats playing Sp..
If you don't know what you're doing, you could request in MapSection.
Re: [FukKi CP] - Rate Editor Final
Posted: February 20th, 2016, 12:55 pm
by killerall
kick player error (kick myself) Blocking dame error (turn all attack dame to 1) No use food error (when a unit train or build by food die, the food that you are using turn to unlimit) when you click to much on menu, you can't click anywhere after :v too much error need to be fix (my english suck so don't blame me if you don't understand)
Re: [FukKi CP] - Rate Editor Final
Posted: March 16th, 2016, 6:35 pm
by CrossWing
killerall wrote:kick player error (kick myself) Blocking dame error (turn all attack dame to 1) No use food error (when a unit train or build by food die, the food that you are using turn to unlimit) when you click to much on menu, you can't click anywhere after :v too much error need to be fix (my english suck so don't blame me if you don't understand)
Blocking dmg i not sure what u mean ur attack or enemy attack but if u attack this func cant make any dmg only block it u can get dmg from % by ur setting like 50% if u get 100 -> 50 dmg u get it but u cant make dmg over ur HP like HP 100 and u take 120 from skill
Kick Player when u kick some1 he i will understand got the error this is ERROR KICK -> Fatal ERROR KICK
No use food this func sometimes not work in hero or some custom map only campaign or normal it work
Menu when u open cheat menu u cant move camera it sure 100% not bug u need close it 1st
Re: [FukKi CP] - Rate Editor Final
Posted: April 3rd, 2016, 12:47 pm
by Pio
- Can anyone tell me if the attack dam is work? For me it not working.